package com.rk.admin.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rk.admin.domain.Resultarticle;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface ResultarticleMapper extends BaseMapper<Resultarticle> {

    /**
     * 添加文章
     * @param resultarticle
     * @return
     */
    public int insertResultarticle(Resultarticle resultarticle);

    /**
     * 通过id修改
     * @param resultarticle
     * @return
     */
    public int updatebyid(Resultarticle resultarticle);


    /**
     * 通过id查找
     * @return
     */
    public Resultarticle queryById(Integer id);

}
